// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   GoodsExchange.java

package org.come.model;

import java.math.BigDecimal;
import org.come.entity.Goodstable;

public class GoodsExchange
{

	private int eId;
	private String type;
	private String consume;
	private BigDecimal goods;
	private String goodsname;
	private String skin;
	private Long quality;
	private BigDecimal rgid;
	private Integer status;
	private String value;
	private String instruction;

	public GoodsExchange()
	{
	}

	@Override
    public String toString()
	{
		return (new StringBuilder("goodsExchange{eId=")).append(eId).append(", type='").append(type).append('\'').append(", consume='").append(consume).append('\'').append(", goods=").append(goods).append(", goodsname='").append(goodsname).append('\'').append(", skin='").append(skin).append('\'').append(", quality=").append(quality).append(", rgid=").append(rgid).append(", status=").append(status).append(", value='").append(value).append('\'').append(", instruction='").append(instruction).append('\'').append('}').toString();
	}

	public void initPet(Goodstable goods)
	{
		goodsname = goods.getGoodsname();
		skin = goods.getSkin();
		quality = goods.getQuality();
		value = goods.getValue();
		instruction = goods.getInstruction();
		rgid = goods.getRgid();
		status = goods.getStatus();
	}

	public int geteId()
	{
		return eId;
	}

	public void seteId(int eId)
	{
		this.eId = eId;
	}

	public String getType()
	{
		return type;
	}

	public void setType(String type)
	{
		this.type = type;
	}

	public String getConsume()
	{
		return consume;
	}

	public void setConsume(String consume)
	{
		this.consume = consume;
	}

	public BigDecimal getGoods()
	{
		return goods;
	}

	public void setGoods(BigDecimal goods)
	{
		this.goods = goods;
	}

	public String getGoodsname()
	{
		return goodsname;
	}

	public void setGoodsname(String goodsname)
	{
		this.goodsname = goodsname;
	}

	public String getSkin()
	{
		return skin;
	}

	public void setSkin(String skin)
	{
		this.skin = skin;
	}

	public Long getQuality()
	{
		return quality;
	}

	public void setQuality(Long quality)
	{
		this.quality = quality;
	}

	public String getValue()
	{
		return value;
	}

	public void setValue(String value)
	{
		this.value = value;
	}

	public String getInstruction()
	{
		return instruction;
	}

	public void setInstruction(String instruction)
	{
		this.instruction = instruction;
	}
}